#ifndef ANIMATION_H
#define ANIMATION_H

#include "tsg.h"
using namespace tsg;

class step
{
public:
	float position;
	float time;
public:
	step();
	step(float time, float position);
};

class CKeyframe : public Controller<float>
{

public:
	vector<step> vectorStep;
	Parameter <float> time;
	bool easyinout;
public:
	CKeyframe();
	void addKeyframe(step* s);
private:
	void doUpdate();
};

#endif